//
//  Auth.swift
//  Asman
//
//  Created by 李旭峰 on 3/25/20.
//  Copyright © 2020 李旭峰. All rights reserved.
//

import Foundation

class GetNimAuthInfoResult {
    var account:String = ""
    var appKey:String = ""
    var token:String = ""
}
typealias GetNimAuthInfoResponse = (_ error:Error?,_ result:GetNimAuthInfoResult?)->Void
class GetNimAuthInfoRequest: BaseRequest {
    
//    override func server() -> Service {
//        #if DEBUG
//        return Service.mock
//        #else
//        return Service.app
//        #endif
//    }
    override func path() -> String {
        return Api.Web.im.getAutoInfo
    }
    
    override func method() -> HTTPMethodType {
        return .get
    }
    override func mockId() -> String {
        return "/mock/52"
    }
}


